import Vue from 'vue';
import App from './App';
import router from "./router.js";
import ElementUI from 'element-ui';
import locale from 'element-ui/lib/locale/lang/en'

import 'element-ui/lib/theme-chalk/index.css';

import http from '@/common/http';
import storeKeys from '@/common/biz/store-keys';
import store from './store';
import i18n from '@/i18n/i18n.js'

Vue.config.productionTip = false;
Vue.use(ElementUI,{locale});

Vue.prototype.$http = http;
Vue.prototype.$storeKeys = storeKeys;

new Vue({
  el:'#app',
  router,
  store,
  i18n,
  render: h => h(App),
}).$mount('#app');